import 'package:flutter/material.dart';

const appRed = Color(0xFFD5354C);
const appBlack = Color(0xFF1D1D1D);
const appGrey = Color(0xFFE1E1E1);
const appWhite = Color(0xFFFFFFFF);
// 背景颜色
const bgColor = Color.fromRGBO(224, 224, 224, 1);
// 搜索拦背景颜色
List<Color> topBarBgColor = [
  const Color.fromRGBO(241, 232, 232, 1),
  const Color.fromRGBO(255, 255, 255, 1)
];
// 渐变背景颜色
List<Color> bgGradientColor = [
  const Color.fromRGBO(224, 224, 224, 1),
  const Color.fromRGBO(224, 224, 224, 1),
];
// 导航栏背景颜色
const bottomBarBgColor = Color.fromRGBO(255, 255, 255, 1);
// 导航栏按钮颜色
const bottomBarButtonColor = Color.fromRGBO(255, 255, 255, 1);
// 导航栏波浪颜色
const bottomBarWaweColor = Color.fromRGBO(238, 238, 238, 1);
// 遮罩颜色
const maskShadowColor = Color.fromRGBO(255, 255, 255, 1);
// 标题文字样式
TextStyle titleTextStyle = TextStyle(
  fontSize: 20,
  fontWeight: FontWeight.w400,
  color: Colors.black,
  decorationColor: Colors.white.withOpacity(0),
  textBaseline: TextBaseline.alphabetic,
);
// 内容文字样式
TextStyle contextTextStyle = TextStyle(
  fontSize: 14,
  color: Colors.grey,
  decorationColor: Colors.white.withOpacity(0),
  textBaseline: TextBaseline.alphabetic,
);
// 作者文字样式
TextStyle authorTextStyle = TextStyle(
  fontSize: 15,
  fontWeight: FontWeight.w300,
  color: Colors.black,
  decorationColor: Colors.white.withOpacity(0),
  textBaseline: TextBaseline.alphabetic,
);
// 正常文字样式
TextStyle normalTextStyle = TextStyle(
  fontSize: 14,
  fontWeight: FontWeight.w400,
  color: Colors.black,
  decorationColor: Colors.white.withOpacity(0),
  textBaseline: TextBaseline.alphabetic,
);
// 正常文字按钮样式
ButtonStyle normalButtonStyle = ButtonStyle(
    shape: MaterialStateProperty.all(
        RoundedRectangleBorder(borderRadius: BorderRadius.circular(8))),
    overlayColor: MaterialStateProperty.resolveWith((states) {
      return const Color.fromARGB(120, 124, 120, 120);
    }));
